From ca6d37969e9050386c6f2c08ee1729ff2bd7f33a Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Mon, 8 Jun 2015 14:48:33 -0400 Subject: [PATCH] doc: add link to glob::glob::Pattern I was confused by the double-asterisk syntax in the glob. I figured it couldn't hurt to unobtrusively document what the format is. --- src/doc/manifest.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index dd3dcf918..d1760205b 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -40,7 +40,7 @@ build = "build.rs" ## The `exclude` and `include` Fields (optional) -You can explicitly specify to Cargo that a set of globs should be ignored or +You can explicitly specify to Cargo that a set of [globs][globs] should be ignored or included for the purposes of packaging and rebuilding a package. The globs specified in the `exclude` field identify a set of files that are not included when a package is published as well as ignored for the purposes of detecting @@ -66,6 +66,8 @@ The options are mutually exclusive: setting `include` will override an `exclude`. Note that `include` must be an exhaustive list of files as otherwise necessary source files may not be included. +[globs]: http://doc.rust-lang.org/glob/glob/struct.Pattern.html + ## Package metadata There are a number of optional metadata fields also accepted under the -- 2.30.2